package spark_core.operate_transform;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author shihb
 * @date 2020/1/16 11:59
 */
public class Demo {

  public static void main(String[] args) {
    List<Integer> list = Arrays.asList(1, 2, 3, 4);
    System.out.println(list.subList(0, 0).toString());

    new ArrayList<>(list);

  }

}
